//--------------------------------------------------------------
//
// Qizhi Zhang 
// ezhung@gmail.com
// http://www.moorwind.com
//
//--------------------------------------------------------------
package reader.model
{
	import __AS3__.vec.Vector;
	
	import org.puremvc.as3.multicore.interfaces.IProxy;
	
	import reader.model.vo.BlogDraftVO;
	import reader.model.vo.MediaVO;

	public interface IDraftProxy extends IProxy
	{
		function saveDraft(draft:BlogDraftVO):void;
		
		function getPublishDraft(prefetch:int = -1):void;
		
		function getUnPublishDraft(prefetch:int = -1):void;
		
		function getAllDraft():void;
		
		function updateDraft(draft:BlogDraftVO):void;
		
		function publishDraft(draft:BlogDraftVO):void;
		
		function updatePublishedDraft(draft:BlogDraftVO):void;
		
		function deleteDraft(draft:BlogDraftVO):void;
		
		function deleteDrafts(drafts:Vector.<BlogDraftVO>):void;
		
		function saveMedia(media:MediaVO):void;
		
		function deleteMedia(media:MediaVO):void;
		
		function deleteMedias(medias:Vector.<MediaVO>):void;
		
		function getAllMedia(prefetch:int = -1):void;

		function getCount():void;
		
		function deleteAccount():void;
	}
}